<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="/common/common.jsp"%>

<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <title><%=systemManageName %></title>

  <!-- Set render engine for 360 browser -->
  <meta name="renderer" content="webkit">

  <!-- No Baidu Siteapp-->
  <meta http-equiv="Cache-Control" content="no-siteapp"/>

  <link rel="icon" type="image/png" href="<%=path %>/res/assets/i/favicon.png">

  <!-- Add to homescreen for Chrome on Android -->
  <meta name="mobile-web-app-capable" content="yes">
  <link rel="icon" sizes="192x192" href="<%=path %>/res/assets/i/app-icon72x72@2x.png">

  <!-- Add to homescreen for Safari on iOS -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
  <link rel="apple-touch-icon-precomposed" href="<%=path %>/res/assets/i/app-icon72x72@2x.png">

  <!-- Tile icon for Win8 (144x144 + tile color) -->
  <meta name="msapplication-TileImage" content="<%=path %>/res/assets/i/app-icon72x72@2x.png">
  <meta name="msapplication-TileColor" content="#0e90d2">

  <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
  <!--
  <link rel="canonical" href="http://www.example.com/">
  -->

  <link rel="stylesheet" href="<%=path %>/res/assets/css/amazeui.min.css">
  <link rel="stylesheet" href="<%=path %>/res/assets/css/app.css">
  <link rel="stylesheet" href="<%=path %>/res/css/amaze-custom.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a
  href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->

	<%@ include file="/common/nav.jsp"%>

	
	<div class="am-container">
		
		<h1>用户信息</h1>
	
		<c:if test="${!empty msg }">
			<div class="am-alert am-alert-danger" data-am-alert>${msg }</div>
		</c:if>
	
		<div class="am-g">
			<div class="am-u-sm-12">

				<form class="am-form am-form-horizontal" method="post" action="<%=path %>/manage/user/changeDisp">
				
					<input type="hidden" name="user.id" value="${vo.id }">
				
					<div class="am-form-group">
						<label for="doc-ipt-3" class="am-u-sm-2 am-form-label">用户角色</label>
						<div class="am-u-sm-10">
							<dic:getSelect path="MO2O->ROLE" attributes="{name:'user.lx'}" value="${vo.lx }"></dic:getSelect>
						</div>
					</div>
				
					<div class="am-form-group">
						<label for="doc-ipt-3" class="am-u-sm-2 am-form-label">用户名</label>
						<div class="am-u-sm-10">
							<input type="text" placeholder="请输入用户名" name="user.username" required value="${vo.username }">
						</div>
					</div>

					<div class="am-form-group">
						<label for="doc-ipt-pwd-2" class="am-u-sm-2 am-form-label">昵称</label>
						<div class="am-u-sm-10">
							<input type="text" placeholder="请输入用户昵称或姓名" name="user.nickname" value="${vo.nickname }">
						</div>
					</div>
					
					<div class="am-form-group">
						<label for="doc-ipt-pwd-2" class="am-u-sm-2 am-form-label">手机号</label>
						<div class="am-u-sm-10">
							<input type="text" placeholder="请输入手机号" name="user.cellphone" value="${vo.cellphone }">
						</div>
					</div>
					
					<div class="am-form-group">
						<label for="doc-ipt-pwd-2" class="am-u-sm-2 am-form-label">邮箱</label>
						<div class="am-u-sm-10">
							<input type="text" placeholder="请输入用户邮箱" name="user.email" value="${vo.email }">
						</div>
					</div>
					
					<div class="am-form-group">
						<div class="am-u-sm-10 am-u-sm-offset-2">
							<button type="submit" class="am-btn am-btn-primary">修改密码</button>
							<a class="am-btn am-btn-danger" href="<%=path %>/manage/user">返回</a>
						</div>
					</div>
				</form>

			</div>
		</div>

		
	</div>
    

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="<%=path %>/res/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="<%=path %>/res/assets/js/jquery.min.js"></script>
<!--<![endif]-->
<script src="<%=path %>/res/assets/js/amazeui.min.js"></script>
<script src="<%=path %>/res/assets/js/amazeui.min.js"></script>
<script src="<%=path %>/res/js/page.js"></script>


</body>
</html>
